import java.util.concurrent.Callable;
import java.util.concurrent.FutureTask;

public class Test {
    static class MyThread extends Thread{
        @Override
        public void run() {
            System.out.println(1);
        }
    }
    static class MyThread1 implements Runnable{
        @Override
        public void run() {

        }
    }
    public static void main(String[] args) {
        Thread t = new Thread(){
            @Override
            public void run() {
                super.run();
            }
        };
        MyThread1 t1 = new MyThread1();
        Thread t2 = new Thread(()-> System.out.println(1));

        Callable<Integer> callable = new Callable<Integer>() {
            @Override
            public Integer call() throws Exception {
                return null;
            }
        };
        FutureTask<Integer> futureTask = new FutureTask<>(callable);
        Thread t3 = new Thread(futureTask);
//        int other = (int) true;
//        long test = 012;
//        float f = -412;
//        double d = 0x12345678;
//        byte b = 128;
    }
}
